package com.unei.groovy.batch

/**
 * Created by sunlei on 2015/1/16.
 */
def adder={x,y->return x+y}
def addCurry=adder.curry(1)
println(addCurry(6))


def x=0
10.times {x++}
println x